// samsting : this file is auto create.

#include "Yundun/2015-04-16/BruteforceLogResponse.h"

namespace aliyun { namespace Yundun {

BruteforceLogResponse::BruteforceLogResponse() {
}

int BruteforceLogResponse::BruteforceLog::GetBlockTimes(void) const {
  return BlockTimes_;
}

const string& BruteforceLogResponse::BruteforceLog::GetSourceIp(void) const {
  return SourceIp_;
}

int BruteforceLogResponse::BruteforceLog::GetStatus(void) const {
  return Status_;
}

const string& BruteforceLogResponse::BruteforceLog::GetTime(void) const {
  return Time_;
}

const string& BruteforceLogResponse::BruteforceLog::GetLocation(void) const {
  return Location_;
}

const std::vector<BruteforceLogResponse::BruteforceLog>& BruteforceLogResponse::GetLogList(void) const {
  return LogList_;
}

const string& BruteforceLogResponse::GetStartTime(void) const {
  return StartTime_;
}

const string& BruteforceLogResponse::GetEndTime(void) const {
  return EndTime_;
}

int BruteforceLogResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int BruteforceLogResponse::GetPageSize(void) const {
  return PageSize_;
}

int BruteforceLogResponse::GetTotalCount(void) const {
  return TotalCount_;
}

const char* BruteforceLogResponse::BaseKey(void) {
  return "BruteforceLogResponse";
}

void BruteforceLogResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int LogList__length = 0;
  UnmarshallerInt(LogList__length, response_map, "BruteforceLogResponse.LogList.Length");
  if(LogList__length >= 0) {
    LogList_.resize(LogList__length);
    for(int i1 = 0; i1 < LogList__length; i1++) {
      UnmarshallerInt(LogList_[i1].BlockTimes_, response_map, "BruteforceLogResponse.LogList["+string_ValueOfInt(i1)+"].BlockTimes");
      UnmarshallerString(LogList_[i1].SourceIp_, response_map, "BruteforceLogResponse.LogList["+string_ValueOfInt(i1)+"].SourceIp");
      UnmarshallerInt(LogList_[i1].Status_, response_map, "BruteforceLogResponse.LogList["+string_ValueOfInt(i1)+"].Status");
      UnmarshallerString(LogList_[i1].Time_, response_map, "BruteforceLogResponse.LogList["+string_ValueOfInt(i1)+"].Time");
      UnmarshallerString(LogList_[i1].Location_, response_map, "BruteforceLogResponse.LogList["+string_ValueOfInt(i1)+"].Location");
    } // for(int i1 = 0; i1 < LogList__length; i1++) {
  } // if(LogList__length >= 0) {

  UnmarshallerString(StartTime_, response_map, "BruteforceLogResponse.StartTime");
  UnmarshallerString(EndTime_, response_map, "BruteforceLogResponse.EndTime");
  UnmarshallerInt(PageNumber_, response_map, "BruteforceLogResponse.PageNumber");
  UnmarshallerInt(PageSize_, response_map, "BruteforceLogResponse.PageSize");
  UnmarshallerInt(TotalCount_, response_map, "BruteforceLogResponse.TotalCount");
}


} } // namespace aliyun { namespace Yundun {

// end of file 
